<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title>demo</title>
		<link href="public/css/common.css" rel="stylesheet" />
	</head>

	<body style="margin:0; padding:0;">
		<div class="ad-nav-top">
			<div class="common-head">

			</div>
		</div>
		<div class="ad-w hp-index-cont _clear">
			<div class="index-menu pull-left _clear">

			</div>
			<div class="ad-right">
				<iframe width='100%' class="main_tpl" scrolling="no" name='rightFrame' src="" id='rightFrame' frameborder="no"></iframe>
			</div>
		</div>
		<div class="ad-page-footer">
			<div class="common-foot">

			</div>
		</div>
		<script src="../common/components/jquery-1.10.2.min.js"></script>
		<script src="../common/components/ractive-legacy.js"></script>
		<script src="public/js/custom.js"></script>
		<script type="text/javascript">
			function reinitIframe() {
				var iframe = document.getElementById("rightFrame");
				try {
					var bHeight = iframe.contentWindow.document.body.scrollHeight;
					var dHeight = iframe.contentWindow.document.documentElement.scrollHeight;
					var height = Math.max(bHeight, dHeight);
					iframe.height = height;
//					console.log(height);
				} catch(ex) {}
			}
			window.setInterval("reinitIframe()", 200);
		</script>
	</body>

</html>